package models

/**
 * Created with Goland.
 * User: 令狐飞侠
 * Date: 2022-3-8
 * Description: 用户
 */
type User struct {
	Id           int64
	UserName     string
	UserPassword string
	RoleId       int8
	UserPhone    string
	RegTime      string
	UserStatus   int8
}

//通过给struct实体类定义TableName，返回绑定表名
func (user *User)TableName() string  {
	return "tb_user"
}

